From: Andrew Morton Date: Tue, 15 Aug 2006 06:11:02 +0000 (-0700) Subject: USB: usb-hub-driver-improve-use-of-ifdef fix X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~41662^2~45 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=511366da534bad226e89d294c3b3e910a2aaba6b;p=linux-4.9.git USB: usb-hub-driver-improve-use-of-ifdef fix Fix CONFIG_PM=n build. Cc: Alan Stern Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 65720f2bffc8..f5adce049b35 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -1895,6 +1895,8 @@ static inline int remote_wakeup(struct usb_device *udev) return 0; } +#define hub_suspend NULL +#define hub_resume NULL #endif void usb_suspend_root_hub(struct usb_device *hdev)